/****************************************************
          File Name:test.cpp
          Author: Abby Cin
          Mail: abbytsing@gmail.com
          Created Time: Thu 25 Dec 2014 09:47:19 PM CST
*****************************************************/

#include"test.h"

int main()
{
    using std::cout;
    using std::cin;
    using std::endl;
    String a("abby");
    cout << "a: " << a << endl;
    String c(" Cin");

    cout << "c: " << c << endl;

    String b;

    b = c + a; // a.operator+(a);

    cout << "b=a+c--->" << b << "<---"<< endl;

    cout << "a :" << a << endl;

    b = "cin " + a;
    cout << "new b: -->"<< b << "<--" << endl;

    String d;

    d = a + " criss";
    cout << "d = a + \" criss\" --->" << d <<" <--"<< endl;

    // not be solved yet

    b = b + d;
    cout << "b = b + d-->" << b << "<---" << endl;

    return 0;
}
